extends "../z46-3/z46-3.gd"

var baseId = ""
var upText1 = "回音击伤害提高30%"
var upText2 = "重弹精通技能系数+2%"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("装备[超重弹]时，回音击额外附带[目标血上限8%]的伤害", "重弹精通")
	
func _onBattleStart():
	._onBattleStart()
	for i in items:
		if i.id == "i_equip_heavyAmmo":
			czdFlag = true
			break

func upgrade():
	.upgrade()
	if upgraded == 1:
		p2 = 1.3
	if upgraded == 2:
		p4 = 0.1